﻿<MudTable Items="_items" @bind-CurrentPage="_currentPage">
    <HeaderContent>
        <MudTh>Item</MudTh>
    </HeaderContent>
    <RowTemplate>
        <MudTd DataLabel="Item">@context</MudTd>
    </RowTemplate>
    <PagerContent>
        <MudTablePager PageSizeOptions="[1]"/>
    </PagerContent>
</MudTable>

@code {
    public static string __description__ = "CurrentPage parameter should be two-way bindable.";
    
    private readonly int[] _items = [1, 2, 3];
    private int _currentPage;
}